package com.lovo.bean;

import java.time.LocalDate;

public class DeptBean {
    private int id;
    private String name;
    private LocalDate createTime;
    private String info;

    public DeptBean() {
    }

    public DeptBean(String name, LocalDate createTime, String info) {
        this.name = name;
        this.createTime = createTime;
        this.info = info;
    }

    public DeptBean(int id, String name, LocalDate createTime, String info) {
        this.id = id;
        this.name = name;
        this.createTime = createTime;
        this.info = info;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public LocalDate getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDate createTime) {
        this.createTime = createTime;
    }

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info;
    }

//    @Override
    public String toString() {
        return name;
    }

//    @Override
//    public String toString() {
//        return "DeptBean{" +
//                "id=" + id +
//                ", name='" + name + '\'' +
//                ", createTime=" + createTime +
//                ", info='" + info + '\'' +
//                '}';
//    }
}
